package com.atlin.cli.pattern;

/**
 * @author atlin
 * @description
 * @createDate 2024/9/23 9:35
 */
public class TurnOffCommand implements Command{
    private Device device;

    public TurnOffCommand(Device device) {
        this.device = device;
    }

    public void execute() {
        device.turnOff();
    }
}
